﻿using Appliaction.Dto.DB;
using AutoMapper;
using Domain.Entitys.DB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Appliaction.Profiles.DB
{
    public class Db_Warehouse_zoneProfile:Profile
    {
        public Db_Warehouse_zoneProfile() {
            
            //添加
            CreateMap<Warehouse_zone, Db_warhousezoneAddDto>().ReverseMap();
            //对库区下面的库位进行修改
            CreateMap<Warehouse_zone, Db_Warehouse_zone_UpdateDto>().ReverseMap();
            //修改
            CreateMap<Warehouse_zone, Db_warehouse_ZoneUpdatexgDto>().ReverseMap();
        }
    }
}
